import { DataTypes, Model } from "sequelize";
import { sequelize } from '../BaseDao';

export interface SearchKeydownType {
  id: number;
  keydown: string;
}
const SearchKeydown = sequelize.define(
  "searchkeydown",
  {
    id: {
      type: DataTypes.INTEGER,
      autoIncrement: true,
      primaryKey: true,
    },
    keydown: {
      type: DataTypes.STRING,
    },
  },
  {
    timestamps: false,
  }
);

export default SearchKeydown;
